package io.renren.modules.mark.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.util.List;

/**
 * 登录表单
 *
 * @author lzj liuzhejun@zoneyet.com
 */
@Data
@ApiModel(value = "团队更新")
public class TeamUser {
    @ApiModelProperty(value = "团队ID")
    @NotBlank(message="团队ID不能为空")
    private Integer teamId;

    @ApiModelProperty(value = "团队名称", example = "国安")
    private String name;

    @ApiModelProperty(value = "团队描述", example = "大牛团队")
    private String teamDesc;

    @ApiModelProperty(value = "团队创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(value = "团队成员")
    private List<Integer> userId;

}
